/* CSS reset */
body, div, dl, dt, dd, ul, ol, li, h1, h2, h3, h4, h5, h6, pre, form, fieldset, input, textarea, p, blockquote, th, td {
	margin: 0;
	padding: 0;
}

html, body {
	width: 100%;
	height: auto;
	margin: 0;
	padding: 0;
}
/*@media screen and (max-width: 900px){
 #menu p{
 display: none;
 }
 }*/
a {
	text-decoration: none;
}
#page {
	background: -moz-linear-gradient(top,  #ff7400 29%, #d89803 100%); /* FF3.6+ */
	background: -webkit-gradient(linear, left top, left bottom, color-stop(29%,#ff7400), color-stop(100%,#d89803)); /* Chrome,Safari4+ */
	background: -webkit-linear-gradient(top,  #ff7400 29%,#d89803 100%); /* Chrome10+,Safari5.1+ */
	background: -o-linear-gradient(top,  #ff7400 29%,#d89803 100%); /* Opera 11.10+ */
	background: -ms-linear-gradient(top,  #ff7400 29%,#d89803 100%); /* IE10+ */
	background: linear-gradient(to bottom,  #ff7400 29%,#d89803 100%); /* W3C */
	filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#ff7400', endColorstr='#d89803',GradientType=0 ); /* IE6-9 */
	width: 100%;
	height: auto;
	margin: 0 auto 0 auto;
	position: relative;
	padding: 0px;
	background: url(../img/bg.png) repeat-x #FF7400 bottom;
	background-attachment: fixed;
	background-position-y: bottom;
}
#container {
	width: 70%;
	min-height: 30em;
	height: 1500px;
	margin: 0 auto 0 auto;
	background-color: #fecc5a;
	background: url('../img/bg_container.gif') repeat;
	border-left: 1px solid #000000;
	border-right: 1px solid #000000;
}
#header {
	margin: 0 auto 0 auto;
	padding: 0 auto 0 auto;
}
#menu {
	height: 6em;
	margin: 0 auto 0 auto;
	background-color: #000000;
	-moz-border-radius-bottom: 0px 0px 10px 10px; /* Firefox*/
	-ms-border-radius: 0px 0px 10px 10px; /* IE 8.*/
	-webkit-border-radius: 0px 0px 10px 10px; /* Safari,Chrome.*/
}
#menu img {
	width: 6em;
}
#menu ul, #recursos ul {
	list-style: none;
}

#menu ul li a {
	display: inline;
	float: left;
	margin-left: 1.5%;
	margin-right: 1%;
	margin-top: 0.7em;
	width: 10%;
	text-decoration: none;
	text-align: center;
	max-width: 99%;
	font-size: 100%;
	color: #C47502;
}
.active {
	background-color: #333;
	border-bottom: solid 0.5em #FF7400;
	border-top: solid 0.2em #FF7400;
	border-left: solid 0.1em #FF7400;
	border-right: solid 0.1em #FF7400;
	border-radius: 10px 10px 10px 10px;
}
#logout {
	position: fixed;
	top: 5px;
	right: 5px;
}
#logout img {
	max-width: 100%;
}
#recursos {
	clear: both;
	width: 85%;
	height: 4em;
	min-height: 30px;
	margin: 0 auto 0 auto;
	background: #a05903; /* Old browsers */
	background: -moz-linear-gradient(top,  #a05903 0%, #c47403 44%); /* FF3.6+ */
	background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#a05903), color-stop(44%,#c47403)); /* Chrome,Safari4+ */
	background: -webkit-linear-gradient(top,  #a05903 0%,#c47403 44%); /* Chrome10+,Safari5.1+ */
	background: -o-linear-gradient(top,  #a05903 0%,#c47403 44%); /* Opera 11.10+ */
	background: -ms-linear-gradient(top,  #a05903 0%,#c47403 44%); /* IE10+ */
	background: linear-gradient(to bottom,  #a05903 0%,#c47403 44%); /* W3C */
	filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#a05903', endColorstr='#c47403',GradientType=0 ); /* IE6-9 */
	-moz-border-radius-bottom: 0px 0px 10px 10px; /* Firefox*/
	-ms-border-radius: 0px 0px 10px 10px; /* IE 8.*/
	-webkit-border-radius: 0px 0px 10px 10px; /* Safari,Chrome.*/
	border-radius: 0px 0px 10px 10px; /* El est�ndar.*/
	border-left: 1px solid black;
	border-right: 1px solid black;
	border-bottom: 1px solid black;
}
#recursos img {
	max-width: 3em;
	margin-top: 6px;
}
#content {
	padding-left: 1em;
	padding-right: 1em;
	padding-top: 2em;
	padding-bottom: 1em;
}
#recursos ul li {
	float: left;
	margin-left: 1%;
	padding-left: 2%;
	padding-right: 5%;
	padding-top: 2px;
	width: 12%;
	text-decoration: none;
	text-align: center;
	font-size: 100%;
}
.recurso {
	margin-top: 0.6em;
	margin-left: -5em;
	margin-right: 1em;
	border-radius: 5px;
	border: solid 1px #DFB34F;
	box-shadow: 0 0 2px #453718;
	background: #fecc5a; /* Old browsers */
	background: -moz-linear-gradient(top,  #fecc5a 0%, #dba436 100%, #05abe0 100%); /* FF3.6+ */
	background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#fecc5a), color-stop(100%,#dba436), color-stop(100%,#05abe0)); /* Chrome,Safari4+ */
	background: -webkit-linear-gradient(top,  #fecc5a 0%,#dba436 100%,#05abe0 100%); /* Chrome10+,Safari5.1+ */
	background: -o-linear-gradient(top,  #fecc5a 0%,#dba436 100%,#05abe0 100%); /* Opera 11.10+ */
	background: -ms-linear-gradient(top,  #fecc5a 0%,#dba436 100%,#05abe0 100%); /* IE10+ */
	background: linear-gradient(to bottom,  #fecc5a 0%,#dba436 100%,#05abe0 100%); /* W3C */
	filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#fecc5a', endColorstr='#05abe0',GradientType=0 ); /* IE6-9 */
	min-height: 2em;
}
h2 {
	margin-bottom: 0.5em;
}
.centrar {
	text-align: center;
}
table {
	border-spacing: 10;
}

/* COMIENZO CSS ESPECIFICO*/

/*Pagina mejoras*/
.mejoras_img {
	width: 60%;
	max-width: 25em;
	margin-bottom: 0em;
	border: 5px double #C47403;
	box-shadow: 0px 0px 1px #000;
}
#nom_mejora {
	display: block;
	background: #a05903; /* Old browsers */
	background: -moz-linear-gradient(top,  #a05000 0%, #c47403 44%); /* FF3.6+ */
	background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#a05903), color-stop(44%,#c47403)); /* Chrome,Safari4+ */
	background: -webkit-linear-gradient(top,  #a05000 0%,#c47403 44%); /* Chrome10+,Safari5.1+ */
	background: -o-linear-gradient(top,  #a05000 0%,#c47403 44%); /* Opera 11.10+ */
	background: -ms-linear-gradient(top,  #a05000 0%,#c47403 44%); /* IE10+ */
	background: linear-gradient(to bottom,  #a05000 0%,#c47403 44%); /* W3C */
	filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#a05000', endColorstr='#c47403',GradientType=0 ); /* IE6-9 */
	width: 54%;
	height: auto;
	padding-top: 0.5em;
	margin:0 auto 0 auto;
	margin-bottom: 1em;
	font-size: 120%;
	border-bottom: 2px solid #C47403;
	border-right: 2px solid #C47403;
	border-left: 2px solid #C47403;
	border-radius: 0px 0px 10px 10px;
}
#texto {
	background: #fdf0dc; /* Old browsers */
	background: -moz-linear-gradient(top,  #fdf0dc 80%, #c47403 200%); /* FF3.6+ */
	background: -webkit-gradient(linear, left top, left bottom, color-stop(80%,#fdf0dc), color-stop(200%,#c47403)); /* Chrome,Safari4+ */
	background: -webkit-linear-gradient(top,  #fdf0dc 80%,#c47403 200%); /* Chrome10+,Safari5.1+ */
	background: -o-linear-gradient(top,  #fdf0dc 80%,#c47403 200%); /* Opera 11.10+ */
	background: -ms-linear-gradient(top,  #fdf0dc 80%,#c47403 200%); /* IE10+ */
	background: linear-gradient(to bottom,  #fdf0dc 80%,#c47403 200%); /* W3C */
	margin-left: 6%;
	margin-bottom: 2em;
	border-bottom: 1px solid #C47403;
	border-top: 1px solid #C47403;
	border-radius: 10px 10px 10px 10px;
	padding: 1em;
	width: 80%;
}
/*Fin pagina mejoras*/

/*Pagina atacar*/
form.fatacar {
	padding: 100px;
}
#estandarte_izq {
	float: left;
	width: 15%;
}
.estandarte img {
	max-width: 85%;
}
#estandarte_der {
	float: right;
	width: 15%;
}
#puntuacion_atacar {
	font-size: 70%;
	float: left;
	width: 70%;
	height: auto;
}
#puntuacion_atacar li {
	list-style: none;
	width: 40%;
	height: 1.5em;
	background-color: #8EA7AA;
	margin-top: 1%;
	margin-left: 30%;
	padding-top: 1%;
}
.noFloat {
	clear: both;
}
.floatLeft {
	float: left;
	clear: both;
}
.hrstyleAtacar {
	color: red;
	width: 43%;
	margin-right: 13%;
	margin-top: 3%;
	border-color: #C47403;
}
/*Fin pagina atacar*/

/*Pagina buzon*/

.side_contenedor {
	box-shadow: 1px 1px 24px #885102;
	width: 80%;
	height: 2em;
	background-color: #FECF5E;
	margin: 0 10% 0 10%;
	font-size: 20px;
}
.side_contenedor2 {
	float: left;
	width: 4%;
	height: 2em;
	margin-left: 10%;
}
.mensajes_entradas {
	font-family: 'Short Stack', cursive;
	background-color: #008000;
	font-size: 23px;
}
.vacia {
	display: none;
}
.me_cargo {

	cursor: wait;
}
.cargado {
	background-color: #008000;
	font-size: 1em;
}

.entrada_salida {
	margin-left: 25%;
	margin-right: 25%;
}
.entrada_salida:first-child {
	float: left;
}
.entrada_salida:last-child {
	float: right;
}


.side_contenedor {
	font-size:22px;
	background-color: #FDF0DC;
	text-shadow: 0em 0em #000;
}
.side_contenedor:first-child {
	border-radius: 10px 10px 0px 0px;
	background-color: #DFB34F;
	height: 2.2em;
}
.side_contenedor:last-child {
	border-radius: 0px 0px 10px 10px;
	background-color: #DFB34F;
}


.entradas_fondo {
	background-color: #FDF0DC;
	clear: both;
	width: auto;
	margin-left: 10%;
	margin-right: 10%;
	padding: 10px 10px 10px 10px;
	border-color: #c47403;
	margin-bottom: 1px;
	box-shadow: 0px 0px 1px #000;
	/*text-align : justify;*/
	/*	clear:both;
	 width: 10em;
	 height: 10em;
	 float: left;
	 border: 5px double #C47403;
	 box-shadow: 0px 0px 1px #000;
	 margin-right:4em;
	 */
}

.entradas_fondo:nth-child(2n) {
	background-color: #FDF0DC;
}
.bordeOnclick {
	border: 0px;
	border-style: solid;
	border-bottom: none;
	border-color: #c47403;
	margin-left: 10%;
	margin-right: 6%;
	width: 80%;
}
.bordeNoClick {
	border: none;
}
.error_buz {
	background-color: red;
	border-radius: 10px;
	border: solid 1px #000;
	padding: 3px;
	margin-bottom: 5px;
}
.ok_buz {
	background-color: green;
	border-radius: 10px;
	border: solid 1px #000;
	padding: 3px;
	margin-bottom: 5px;
}
.separador {
	width: 0px;
	height: 85%;
	border-style: solid;
	border-left-color: #895002;
	border-right-color: #c47403;
	border-left-width: 4px;
	border-right-width: 4px;
}

.derecha {
	float: right;
}
.derechabuz {
	float: right;
	margin-top: 2px;
	margin-right: 25px;
}
.izquierdabuz {
	float: left;
	margin-top: 7px;
	margin-left: 5px;
}
.buzon {
	margin-top: 5px;
}
h2.titulo_mensaje {
	font: bold 30px "Trebuchet MS";
	/*	text-decoration: underline;*/
}

.barrahr {
	width: 80%;
	height: 2px;
	border: 1;
	border-top: 1px solid #fff;
}
.cont_msg {
	font-size: 45px;
	color: #333;
	text-align: left;
}
.izquierda {
	margin-left: 5px;
	float: left;
}
.izquierda_b {
	float: left;
	width: 90px;
}
input[type=checkbox] {
	margin-top: 8.6px;
}
.cursor {
	cursor: pointer, auto;
}
.img_buzon {
	width: 80px;
}
img.acciones {
	width: 20px;
}
.enviar_mensaje {
	background: #FDF0DC;
	width: 94%;
	box-shadow: 1px 1px 30px #885102;
	border-radius: 20px;
	padding: 15px 15px 15px 15px;
	border: 2px solid #c47403;
}
/*Fin pagina buzon*/

/* Pagina cuartel/construir */
div.pri {
	padding: 5px 5px 5px 5px;
	/*background-color:#c47403;*/
	border-width: medium;
	border-style: outset;
	display: inline-block;
	box-shadow: 1px 1px 30px #885102;
	background-image: -moz-radial-gradient(center 50deg,circle cover, #f19f2a, #c47403);
	background-image: radial-gradient(center 50deg,circle cover, #f19f2a, #c47403);
	border-radius: 10px 10px 10px 10px;
	/*border: 0.3em solid #9a5b01;*/
	-moz-border-top-colors: #9a5b01;
	-moz-border-left-colors: #9a5b01;
	margin: 6px 4px 6px 4px;
}

.contenedor_opciones div {
	display: inline;
	border: 1px solid red;
	margin: 5px
}

.clear {
	clear: both;
}
img.construir {
	max-width: 100%;
	margin-top: 1em;
	margin-bottom: 0.4em;
}
.hrstyle {
	width: 50%;
	margin-right: 10%;
	border-color: #C47403;
}
.estilosFuente {
	color: #C47403;
}
.estilosFuente:hover {
	color: #C47403;
}
.estilosFuente:visited {
	color: #C47403;
}
.estilosFuente:link {
	color: #C47403;
}
.estilosFuente:active {
	color: #C47403;
}
.ajuste {
	margin-left: 58%;
	margin-bottom: -1%;
}
.ajuste2 {
	margin-bottom: -2%;
}
.cantidadAjuste {
	text-align: right;
	margin-right: 10%;
	margin-top: -20px;
}
/* Fin pagina cuartel/construir */

/* Pagina rank */
#tercero, #segundo, #primero {
	width: 30%;
	float: left;
	background-color: #c47403;
	border-radius: 10px 10px 10px 10px;
	margin-top: 2px;
	margin-right: 0.1em;
	margin-left: 0.1em;
	border: 0.2em solid #9a5b01;
	text-align: center;
}
#primero {
	height: 8em;
}
#segundo {
	height: 6em;
	margin-top: 2em;
}
#tercero {
	height: 4em;
	margin-top: 4em;
}
.clear {
	clear: both;
}
#podium {
	margin-bottom: 45%;
}
.rank {
	background-color: #FECC5A;
	border: solid 2px #D89803;
	box-shadow: 0px 0px 10px #D89803;
	border-radius: 10px 10px 10px 10px;
	float: left;
	width: 36%;
	height: 2em;
	/* top  left bottom right */
	margin: 2em 0px 5em 0px;
}
.rank:first-child {
	width: 27%;
	margin-left: 6%;
	margin-top: 5em;
}
.rank:last-child {
	width: 20%;
	margin-top: 7.2em;
}
.rank img {
	margin-top: 1em;
	max-width: 75%;
}
div.titulo {
	font-size: 1.8em;
}
.spanPos {
	float: left;
	margin-left: 5%;
}
.spanUser {
	float: left;
	margin-left: 25%;
}
.spanRank {
	float: right;
	margin-right: 5%;
}
/* Fin pagina rank */

/* Pagina perfil */
.perfil {
	/*top right bottom left*/
	margin: 1em 10% 1em 7%;
}
.perfil form {
	margin: -2.5em -10% 1em -10%;
}
.perfil input[type=submit] {
	float: right;
}
.perfil input[type=text] {
	float: right;
}
.avatar {
	clear: both;
	width: 15em;
	height: 15em;
	float: left;
	border: 5px double #C47403;
	box-shadow: 0px 0px 1px #000;
	margin-right: 4em;
}
.cajaPerfil {
	clear: both;
	width: 100%;
	max-width: 50em;
	float: left;
	text-align: left;
	padding: 1em 0em 1em 1em;
	margin: 1em 0px 20px 0px;
	background-color: #fdf0dc;
	border-radius: 10px;
	border: 1px solid #C45900;
	box-shadow: 2px 2px 2px #C45900;
	border-radius: 10px;
}
#datosPersonales p {
	margin-bottom: -0.4em;
}
#datosPersonales p:first-child {
	margin-top: 0.8em;
}
.listaEdificios img {
	float: left;
	width: 20%;
	margin-top: 0.5em;
	margin-right: 2%;
	margin-left: 0.5em;
	box-shadow: 2px 2px 3px #999;
	border-radius: 10px;
}
.cajaPerfil img {
	border-radius: 10px;
}
.cajaPerfil img:hover {
	opacity: 0.7;
}
.listaEdificios p {
	float: left;
	font-size: 1.2em;
	color: #555;
	margin-top: 0.5em;
	margin-left: -21%;
	text-decoration: underline;
	text-shadow: 1px 1px 1px #000;
}
/* Fin pagina perfil */

#content span {
	color: #333;
}
img.construir {
	max-width: 100%;
}
img.construir_cuartel {
	width: 80%;
}
#content span {
	font-family: constantia, palatino, times new roman;
	font-size: 0.8em;
}
/* Clases bloqueo ajjax */

.clase1 {
	background-color: #fff;
}
h3.buzon {
	font-family: constantia, palatino, times new roman;
	color: #333;
}

@media screen and (min-height: 650px) {
	#container {
		width: 70%;
		height: 40em;
		min-height: 46em;
		margin: 0 auto 0 auto;
		background-color: #fecc5a;
		background: url('../img/bg_container.gif') repeat;
		border-left: 1px solid #000000;
		border-right: 1px solid #000000;
	}
}
@media screen and (max-width: 745px) {
	#menu img {
		width: 5.5em;
	}
	#menu ul, #recursos ul {
		list-style: none;
	}

	#menu ul li a {
		display: inline;
		float: left;
		margin-left: 1.5%;
		margin-right: 1%;
		margin-top: 0.9em;
		width: 10%;
		text-decoration: none;
		text-align: center;
		max-width: 99%;
		font-size: 100%;
		color: #C47502;
	}
}
@media screen and (min-width: 1600px) {
	#container {
		width: 70%;
		min-height: 56em;
		margin: 0 auto 0 auto;
		background-color: #fecc5a;
		background: url('../img/bg_container.gif') repeat;
		border-left: 1px solid #000000;
		border-right: 1px solid #000000;
	}
}
